package com.ykj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Y2014188432
 * @since 2022-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Posts implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 创建者
     */
    private String userId;

    /**
     * 板块id
     */
    private String plateId;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String comment;

    /**
     * 状态
     */
    private String state;

    /**
     * 加精
     */
    private String start;

    /**
     * 置顶
     */
    private String top;

    /**
     * 锁定
     */
    private String clock;


}
